﻿using System;
using System.Collections.Generic;
using System.Text;

namespace RAP.Framework.Libary.SqlTaskParser.Parsers
{
  /// <summary>
  /// SQL Token解析接口
  /// </summary>
  public interface ISqlTokenParser
  {
    /// <summary>
    /// 自定义Token的正则表达式匹配规则
    /// </summary>
    string CustomerRegex { get; set; }

    /// <summary>
    /// 解析Token
    /// </summary>
    /// <param name="context"></param>
    void ParseToken(SqlParseContext context);
  }
}
